  
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="authMain" />
        <title>Show Controller</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><g:link class="home" controller="auth">Authorize Home</g:link></span>
            <span class="menuButton"><g:link class="list" action="list">Controller List</g:link></span>
        </div>
        <div class="body">
            <h1>Show Controller</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                        <tr class="prop">
                            <td valign="top" class="name">Name:</td>
                            
                            <td valign="top" class="value">${controler.name}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Actions-Roles:</td>
                            
                            <td  valign="top" style="text-align:left;" class="value">
                                <ol>
                                <g:each var="a" in="${controler.actions}">
                                    <li>${a}</li>
                                    <ul type="disc">
                                    <g:each var="b" in="${a.roles}">
                                        <li>${b?.name}</li>
                                    </g:each>
                                    </ul>
                                </g:each>
                                </ol>
                            </td>
                            
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </body>
</html>
